<template>
	<web-view v-if="path" :src="path"></web-view>
</template>

<script>
	import {
		manualWeb
	} from "@/api/http/setting.js";
	export default {
		data() {
			return {
				show: false,
				path: ''
			}
		},
		onLoad(params) {
			let currUser = uni.getStorageSync('loginUser');
			console.log(currUser);
			this.path = manualWeb + (manualWeb.indexOf('?') != -1 ? '&' : '?') + 'token=' + currUser.access_token + '&cTypeId=' + params.id;
		}
	}
</script>

<style>
</style>